package com.zxy.express.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 用户信息表
 *
 * @author zhangxiying ${email}
 * @since ${version} 2025-07-01
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("user")
public class UserEntity{
	private static final long serialVersionUID = 1L;

	private Long id;

    /**
     * 微信用户唯一标识 OpenID
     */
	private String openId;
    /**
     * 用户昵称
     */
	private String nickName;
    /**
     * 用户头像URL
     */
	private String avatarUrl;
    /**
     * 累计练习总时长（单位：秒）
     */
	private Integer totalPracticeDuration;

	/**
	 * 性别
	 */
	private Integer gender;
	/**
	 * 地址
	 */
	private String address;
	private Date createDate;
    /**
     * 更新时间
     */
	private Date updateDate;
}